<?php
if (!isset($_SESSION)) {
  session_start();
}
require_once('../Connections/mysql.php'); 
require_once('./functions/functions.php'); 
require_once('./classes/hero_class.php');
$this_hero=new hero($_SESSION['MM_HeroID']);
?>
<link href="../css/trow_game_classic.css" rel="stylesheet" type="text/css" />

<table width="500" id="stat_table">
  <tr>
    <td><div id="hero_name"><?php echo $this_hero->name;?></div></td>
    <td><span id="hp_span">HP:<?php echo $this_hero->stat['hp']."/".$this_hero->stat['max_hp'];?></span></td>
    <td><span id="ep_span">EP:<?php echo $this_hero->stat['ep']."/".$this_hero->stat['max_ep'];?></span></td>
  </tr>
</table>

<?php
status("角色各参数载入完毕。");
?>